<%@ page import = "java.util.Hashtable,
                   ro.xblue.translator.LanguageBean,
                   ro.gateway.aida.servlet.*,
                   ro.gateway.aida.obj.*,
                   ro.xblue.translator.TranslatorUtils,
			    java.util.ArrayList,
			    ro.gateway.aida.admin.*" %>
<%@ taglib uri="/WEB-INF/taglib.tld" prefix="gtw" %>
<%@ taglib uri="/WEB-INF/translator.tld" prefix="trans" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/usr.tld" prefix="usr" %>
<%
      Object screen = request.getAttribute(EditActivityServlet.PNAME_SCREEN);
      String key = (String) request.getAttribute(EditActivityServlet.PNAME_KEY);
      if ((request.getAttribute(EditActivityServlet.SIGNATURE) == null) || (key == null)) return;
//      System.err.println("Screen:" + screen);
//
//      System.err.println("Key:" + key);
	  String ctx = request.getContextPath();
      Hashtable ed_ctx = (Hashtable) request.getAttribute(EditActivityServlet.PNAME_R_CTX);
      LanguageBean lang_bean = TranslatorUtils.getCurrentLanguage(request, application);
      String lang=lang_bean.language;
      Activity bean = (Activity) ed_ctx.get(EditActivityServlet.PNAME_BEAN);
      String title = bean.getTitle(lang_bean.language);
      if (title == null) title = "";
      String description = bean.getDescription(lang_bean.language);
      if (description == null) description = "";
      String objectives = bean.getObjective(lang_bean.language);
      if (objectives == null) objectives = "";
      String results = bean.getResult(lang_bean.language);
      if (results == null) results = "";
      String keywords = bean.getKeywords(lang_bean.language);
      if (keywords == null) keywords = "";
	String bencomment = bean.getBencomment(lang_bean.language);
	if (bencomment == null) bencomment = "";
      OrganizationInv[] ben_orgs = bean.getOrgsByLRId(OrganizationRole.BENEFICIARS_ORG_ROLE);
      if (ben_orgs == null) ben_orgs = new OrganizationInv[0];
      String org_ids_para = "";
      if (ben_orgs.length > 0) {
            StringBuffer sb = new StringBuffer();
            sb.append("&orgids=");
            for (int i = 0; i < ben_orgs.length; i++) {
                  if (i > 0) sb.append(",");
                  sb.append(ben_orgs[i].getOrg_id());
            }
            org_ids_para = sb.toString();
      }
      PersonInv[] ben_pers = bean.getPersonsByLRId(OrganizationRole.BENEFICIARS_ORG_ROLE);
      if (ben_pers == null) ben_pers = new PersonInv[0];
      ActivityObjectsOptions aoo = ActivityObjectsOptions.getInstance();
%>
<trans:initPage module="prj_pages" />
<gtw:get_errors/>
<html>
<head>




	<link rel="shortcut icon" href="<html:rewrite page="/images/lpd.png"/>" type="image/ico" />
 <META HTTP-EQUIV="EXPIRES" CONTENT="0">
 <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<title>Local Projects Database - Project Editor</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="alf.css" type="text/css">
<STYLE>.text_searchbold {
	FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: #000000; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
; text-decoration: none}
.text_search {
	FONT-SIZE: 8pt; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}
.text {
	FONT-WEIGHT: normal; FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}
.titlu {
	FONT-WEIGHT: bold; FONT-SIZE: 11pt; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}
A:hover {
	TEXT-DECORATION: underline
}
</STYLE>
<script language="javascript">
	var ed_ben_orgs_win;
	var ed_ben_pers_win;
	function open_ben_orgs() {
		whatkindoforgs = 'orgs';
		ed_ben_orgs_win = window.open(
		"org/selector.do",
		"ed_ben_win", "HEIGHT=400,WIDTH=500,scrollbars=yes");
	};
	function help(pageName) {
		ed_donor_orgs_win = window.open(
		"<%=ctx%>/help/UserGuide.pdf",
		"ed_fin_win", "HEIGHT=500,WIDTH=700");
	};
	function open_ben_pers() {
		<% if (ben_orgs.length > 0) { %>
		ed_con_pers_win = window.open("pers/selector.do?",
		"ed_ben_win", "HEIGHT=400,WIDTH=500,scrollbars=yes");
		<% } else { %>
		alert('<trans:showPageMessage label="p5.err.sbenstf" />');
		<% } %>
	};
	var whatkindoforgs = 'orgs';
	function after_org_sel() {
		document.theform.after_selector.value = whatkindoforgs;
		real_submit();
	}
	function after_pers_sel() {
		document.theform.after_selector.value = 'pers';
		real_submit();
	}
	function real_submit() {
		document.theform.action.value = '<%=EditActivityServlet.ACTION_SUBMIT%>';
		document.theform.onsubmit();
		document.theform.submit();
	}
	function after_prop_sel(ids) {
		if (!ids) return;
		document.theform.after_selector.value = 'benz';
		document.theform.selector_data.value = ids;
		real_submit();
	}
	function remselben(forma) {
		forma.action.value='remove_bens';
		document.theform.onsubmit();
		forma.submit();
	}
</script>


<script type="text/javascript">
      // the _editor_url is REQUIRED!  don't forget to set it.
      _editor_url = "/lpd/htmlarea/";
      // implicit language will be "en", but let's set it for brevity
      _editor_lang = "en";
    </script>
    <script type="text/javascript" src="htmlarea/htmlarea.js"></script>
    <script type="text/javascript">
      // load the plugins that we will use
      // loading is necessary ONLY ONCE, regardless on how many editors you create
      // basically calling the following functions will load the plugin files as if
      // we would have wrote script src="..." but with easier and cleaner code


      // this function will get called at body.onload
      function initDocument() {
        // cache these values as we need to pass it for both editors
        var css_plugin_args = {
          combos : [
            { label: "Syntax",
                         // menu text       // CSS class
              options: { "None"           : "",
                         "Code" : "code",
                         "String" : "string",
                         "Comment" : "comment",
                         "Variable name" : "variable-name",
                         "Type" : "type",
                         "Reference" : "reference",
                         "Preprocessor" : "preprocessor",
                         "Keyword" : "keyword",
                         "Function name" : "function-name",
                         "Html tag" : "html-tag",
                         "Html italic" : "html-helper-italic",
                         "Warning" : "warning",
                         "Html bold" : "html-helper-bold"
                       },
              context: "pre"
            },
            { label: "Info",
              options: { "None"           : "",
                         "Quote"          : "quote",
                         "Highlight"      : "highlight",
                         "Deprecated"     : "deprecated"
                       }
            }
          ]
        };

        //---------------------------------------------------------------------
        // GENERAL PATTERN
        //
	//  1. Instantitate an editor object.
	//  2. Register plugins (note, it's required to have them loaded).
	//  3. Configure any other items in editor.config.
	//  4. generate() the editor
	//
	// The above are steps that you use to create one editor.  Nothing new
	// so far.  In order to create more than one editor, you just have to
	// repeat those steps for each of one.  Of course, you can register any
	// plugins you want (no need to register the same plugins for all
	// editors, and to demonstrate that we'll skip the TableOperations
	// plugin for the second editor).  Just be careful to pass different
	// ID-s in the constructor (you don't want to _even try_ to create more
	// editors for the same TEXTAREA element ;-)).
	//
	// So much for the noise, see the action below.
	//---------------------------------------------------------------------


        //---------------------------------------------------------------------
        // CREATE FIRST EDITOR
        //

        var editor1 = new HTMLArea("desc");

        // plugins must be registered _per editor_.  Therefore, we register
        // plugins for the first editor here, and we will also do this for the
        // second editor.

        // custom config must be done per editor.  Here we're importing the
        // stylesheet used by the CSS plugin.
        editor1.config.pageStyle = "@import url(custom.css);";

        // generate first editor
        editor1.generate();
        //---------------------------------------------------------------------


        var editor2 = new HTMLArea("pr_obj");
        editor2.config.pageStyle = "@import url(custom.css);";

          setTimeout(function() {
          editor2.generate();
        }, 500);

        var editor3 = new HTMLArea("rez_prj");
        editor3.config.pageStyle = "@import url(custom.css);";

          setTimeout(function() {
          editor3.generate();
        }, 500);


        //---------------------------------------------------------------------
      };
    </script>

</head>
<body onload="initDocument()" bgcolor="#FFFFFF" text="#000000" topmargin=0 leftmargin=0>
<jsp:include page="header.jsp" /><br><div align=center class=text_bold><trans:showPageMessage label="p.proiect00" /></div><div align=left class=text_search>&nbsp;&nbsp;&nbsp;<trans:showPageMessage label="p.proiect01" /></div>
  <table width="98%" border="0" cellspacing="1" cellpadding="4" class="text_searchBold" background=images/pixelbgtable.gif align="center">
    <tr>
      <td bgcolor="#FFFFFF" class="text_searchBold" width="30%">
         <table width="100%" cellpadding="0" cellspacing="0" border="0">
               <tr>
                    <td class="text_searchBold" width="10%">
                         <trans:showPageMessage label="p.editor" />
                    </td>
                    <td>
                         <usr:logged_user cellClass="text_search" showLoginLink="false" />
                    </td>
               </tr>
          </table>
      </td>
      <td background=images/pixelbgtable.gif width=35%>
        <div align="center" class="textalb"><trans:showPageMessage label="p.proiect" /></div>
      </td>
      <td bgcolor="#FFFFFF" colspan=2>
        <div align="center"><a href="org/edit" class="text_searchBold"><trans:showPageMessage label="p.organiz" /></a></div>
      </td>
  </tr>
  </table>
  <table width="98%" border="0" cellspacing="1" cellpadding="5" background=images/pixelbgtable.gif align=center>
    <tr bgcolor="#FFFFFF">
      <td align="center" width="75%" class="textalb" background=images/pixelbgtable.gif>
<trans:showPageMessage label="p.page5" />
      </td>
      <td width="25%" class="text_searchBold" background=images/pixelbgtable.gif>&nbsp;
      </td>
    </tr>
<form name="theform" method="post" action="editActivity">
<input type="hidden" name="prj_jump" value="" />
<input type="hidden" name="action" value="<%=EditActivityServlet.ACTION_SUBMIT%>" />
<input type="hidden" name="key" value="<%=key%>" />
<input type="hidden" name="page" value="5" />
<input type="hidden" name="after_selector" value="" />
<input type="hidden" name="selector_data" value="" />
<input type="hidden" name="preview_data" value="false" />
    <tr bgcolor="#FFFFFF">
      <td width="75%" bgcolor="f9f9f9" class="text_search">
      <% if(aoo.isEnabled(ActObjsOptsConst.BENEF_ORGS)) { %>
      <gtw:show_error label='<%=ActObjsOptsConst.BENEF_ORGS%>' />
        <br>
        <p><img src=images/arrow_blue.gif hspace=4><b><trans:showPageMessage label="md.ben" />
        <%=aoo.isMandatory(ActObjsOptsConst.BENEF_ORGS) ? "(<font color=red>*</font>)" : ""%>
        </b> </p>
        <div align="center">
        <table width="80%" cellpadding="5" border="0" cellspacing="1" background=images/pixelbgtable.gif>
          <tr>
            <td class="text_searchbold" bgcolor="#FFFFFF"><trans:showPageMessage label="p5.listben" /></td>
        </tr>
        <tr>
            <td class="text_search" bgcolor="#FFFFFF">
              <% if (ben_orgs.length == 0) { %>
              <trans:showPageMessage label="p5.noben" />
              <% } else { %>
              <% for (int i = 0; i < ben_orgs.length; i++) { %>
                  <input type="checkbox" name="benorg_id" value="<%=ben_orgs[i].getOrg_id()%>" />
                  <a href=# onclick="javascript:window.open('org/view?id=<%=ben_orgs[i].getOrg().getId()%>', 'org_viewer', 'status=yes,WIDTH=400,HEIGHT=400,scrollbars=YES');">
                  <%=ben_orgs[i].getOrg().getName()%></a><br>
                <% } %>
            <% } %>
            </td>
        </tr>
        <tr>
            <td bgcolor="#FFFFFF">
                  <input onClick="javascript:open_ben_orgs();" class="buton" type="button" value="<trans:showPageMessage label="p5.edben" hide_link="true" />" />
                  <% if (ben_orgs.length > 0) { %>
                        <input type="button" name="remove_ben_orgs" class="buton" value="<trans:showPageMessage label="p.remove_ben_orgss" hide_link="true" />"
                        onclick="javascript:document.theform.action.value='remove_ben_orgs';document.theform.onsubmit();document.theform.submit();">
                  <% } %>
            </td>
        </tr>
        </table>
        </div>
      <% } %>
      <% if (aoo.isEnabled(ActObjsOptsConst.BENEF_PERS)) { %>
      <gtw:show_error label='<%=ActObjsOptsConst.BENEF_PERS%>' />
        <p><b><trans:showPageMessage label="p5.labelpers" /></b> </p>
        <div align="center">
        <table width="80%" cellpadding="5" border="0" cellspacing="1" background=images/pixelbgtable.gif>
          <tr>
            <td class="text_searchbold" bgcolor="#FFFFFF"><trans:showPageMessage label="p5.listpers" />
            <%=aoo.isMandatory(ActObjsOptsConst.BENEF_PERS) ? "(<font color=red>*</font>)" : ""%>
            </td>
        </tr>
        <tr>
            <td class="text_search" bgcolor="#FFFFFF">
            <% if (ben_pers.length == 0) { %>
                  <trans:showPageMessage label="p5.nopers" />
            <% } else { %>
            <% for (int i = 0; i < ben_pers.length; i++) { %>
                  <input type="checkbox" name="benpers_id" value="<%=ben_pers[i].getPerson_id()%>" />
                  <a href=# onclick="javascript:window.open('pers/view?id=<%=ben_pers[i].getPerson().getId()%>', 'pers_viewer', 'status=yes,WIDTH=400,HEIGHT=400,SCROLLBARS=yes');">
                  <%=ben_pers[i].getPerson().getName()%></a><br>
            <% } %>
            <% } %>
            </td>
        </tr>
        <tr>
            <td bgcolor="#FFFFFF">
              <input onClick="javascript:open_ben_pers();" class="buton" type="button" value="<trans:showPageMessage label="p5.edpers" hide_link="true" />" />
                  <% if (ben_pers.length > 0) { %>
                  <input type="button" name="remove_ben_pers" class="buton" value="<trans:showPageMessage label="p.remove_ben_pers" hide_link="true" />"
                  onclick="javascript:document.theform.action.value='remove_ben_pers';document.theform.onsubmit();document.theform.submit();">
                  <% } %>
            </td>
        </tr>
        </table>
        </div>
      <% } %>
      <% if (aoo.isEnabled(ActObjsOptsConst.DESCRIPTION) ||
            aoo.isEnabled(ActObjsOptsConst.PRIMARY_OBJECTIVE) ||
            aoo.isEnabled(ActObjsOptsConst.RES_PRJ) ||

		  aoo.isEnabled(ActObjsOptsConst.BENEFICIARIES)) { %>
        <br><br><a name="descobj" /></a>
        <p><img src=images/arrow_blue.gif hspace=4><b><trans:showPageMessage label="md.descobj" />
        </b> </p>
        <div align="center">
        <table width="80%" cellpadding="5" border="0" cellspacing="1" background=images/pixelbgtable.gif>
            <% if (aoo.isEnabled(ActObjsOptsConst.DESCRIPTION)) { %>
          <tr bgcolor="#FFFFFF">
            <td valign="top" align="right" width="30%" class="text_searchbold">
                  <gtw:show_error label='<%=ActObjsOptsConst.DESCRIPTION%>' />
                  <trans:showPageMessage label="p5.descprj" />
                  <%=aoo.isMandatory(ActObjsOptsConst.DESCRIPTION) ? "(<font color=red>*</font>)" : ""%>:
            </td>
            <td width="70%" class="text_search">
            
			<textarea id="desc" name="desc" cols="90" rows="18"><%=description%></textarea>
            
            </td>
          </tr>
            <% } %>
            <% if (aoo.isEnabled(ActObjsOptsConst.PRIMARY_OBJECTIVE)) { %>
          <tr bgcolor="#FFFFFF">
            <td valign="top" align="right" width="30%" class="text_searchbold">
                  <gtw:show_error label='<%=ActObjsOptsConst.PRIMARY_OBJECTIVE%>' />
                  <trans:showPageMessage label="p5.primobj" />
                  <%=aoo.isMandatory(ActObjsOptsConst.PRIMARY_OBJECTIVE) ? "(<font color=red>*</font>)" : ""%>:
            </td>
            <td width="70%" class="text_search">

			<textarea id="pr_obj" name="pr_obj" cols="90" rows="18"><%=objectives%></textarea>

            </td>
          </tr>
            <% } %>
            <% if (aoo.isEnabled(ActObjsOptsConst.RES_PRJ)) { %>
          <tr bgcolor="#FFFFFF">
            <td align="right" valign="top" width="30%" class="text_searchbold">
                  <gtw:show_error label='<%=ActObjsOptsConst.RES_PRJ%>' />
                  <trans:showPageMessage label="p5.rezprj" />
                  <%=aoo.isMandatory(ActObjsOptsConst.RES_PRJ) ? "(<font color=red>*</font>)" : ""%>:
            </td>
            <td width="70%" class="text_search">
             <textarea id="rez_prj" name="rez_prj" cols="90" rows="18"><%=results%></textarea>
             
            </td>
          </tr>
            <% } %>
            <% if (aoo.isEnabled(ActObjsOptsConst.BENEFICIARIES)) { %>
		  <%
			  PropertyList list = PropertyListDB.getManager(application).getListById(1, false);
			  ArrayList benz = bean.getBeneficiaries();
		  %>
          <tr bgcolor="#FFFFFF">
            <td align="right" valign="top" width="30%" class="text_searchbold">
                  <gtw:show_error label='<%=ActObjsOptsConst.BENEFICIARIES%>' />
                  <trans:showPageMessage label="p5.beneficiaries" />
                  <%=aoo.isMandatory(ActObjsOptsConst.BENEFICIARIES) ? "(<font color=red>*</font>)" : ""%>:
            </td>
            <td width="70%" class="text_search" style="padding:0px;">
			<div style="border-bottom:1px solid blue;padding:10px;">List of Beneficiaries:</div>
			<% if (benz != null && benz.size() > 0) { %>
			<div style="border-bottom:1px solid blue;padding:10px;">
			<% for (int i = 0; i < benz.size(); i++) { %>
				<%PropertyListItem benitem =  (PropertyListItem) benz.get(i);%>
				<div>
				<input type="checkbox" name="ben_idxs" value="<%=i%>"><%=benitem.getString(lang_bean.language)%>
				</div>
			<% } %>
			</div>
			<div style="border-bottom:1px solid blue;padding:10px;">
				<input type="button" name="un_nume"
					value="<trans:showPageMessage label="p.delsel" hide_link="true" />"
					onClick="javascript:remselben(this.form);"
					class="butonsave"/>
			</div>
			<% } %>
			<div style="border-bottom:1px solid blue;padding:10px;">Choose beneficiary</div>
			<div style="border-bottom:1px solid blue;padding:10px;">
				<input type="button" name="un_nume"
					value="<trans:showPageMessage label="p.add" hide_link="true" />"
					onClick="javascript:window.open('<%=ctx%>/admin/selproplist.do?event=start&action=create&plist=beneficiaries','bensel','HEIGHT=400,WIDTH=500,scrollbars=yes');"
					class="butonsave"/>
				<trans:showPageMessage label="translator.showhiddentags"/>
			</div>
			<div style="border-bottom:1px solid blue;padding:10px;">Comments:</div>
			<div style="padding:10px;">
				<textarea name="bencomm" cols="40" rows="7"
				onKeyDown="textCounter(this.form.bencomm,this.form.cbencomm,3000);"
				onKeyUp="textCounter(this.form.bencomm,this.form.cbencomm,3000);"
				><%=bencomment%></textarea>
				<input readonly type=text name="cbencomm" size=3 maxlength=4 value=""> <trans:showPageMessage label="p.charactersleft" />
			</div>
            </td>
          </tr>
            <% } %>
        </table>
        </div>
       <% } // DESCR ENABLED %>
       <% if (aoo.isEnabled(ActObjsOptsConst.KEYWORDS)) { %>
        <a name="keyw" /></a>
      <gtw:show_error label='<%=ActObjsOptsConst.KEYWORDS%>' />
        <p><b><trans:showPageMessage label="md.keywords" /></b>
        <%=aoo.isMandatory(ActObjsOptsConst.KEYWORDS) ? "(<font color=red>*</font>)" : ""%>
        </p>
        <div align="center">
        <table width="80%" cellpadding="5" border="0" cellspacing="1" background=images/pixelbgtable.gif>
          <tr bgcolor="#FFFFFF">
            <td align="right" valign="top" width="30%" class="text_searchbold"><trans:showPageMessage label="p5.keywprj" />:
            <p>
            </td>
            <td width="70%" class="text_search">
              <textarea name="keyw_prj" cols="40" rows="7"
              onKeyDown="textCounter(this.form.keyw_prj,this.form.rlkeyw_prj,1000);"
              onKeyUp="textCounter(this.form.keyw_prj,this.form.rlkeyw_prj,1000);"
              ><%=keywords%></textarea>
               <input readonly type=text name=rlkeyw_prj size=3 maxlength=4 value=""> <trans:showPageMessage label="p.charactersleft" />
            </td>
          </tr>
        </table>
        </div>
       <% } %>
        <br><br>
        <div align="center">
        <input type="button" name="un_nume" value="<trans:showPageMessage label="p.sinfo" hide_link="true" />" onClick="javascript:document.theform.action.value='<%=EditActivityServlet.ACTION_SUBMIT%>';document.theform.onsubmit();document.theform.submit();" class="butonsave"/>
        </div>
      </td>
      <td width="25%" valign="top">
<!-- meniu dreapta -->
      <table width="98%" border="0" cellspacing="1" cellpadding="2" bgcolor="#000066">
        <tr>
	      <td align="center"><b> <span class="textalb"><trans:showPageMessage label="p.proj" />:</span>
            <span class="text_search"><font color="#F9E031"><%=title%></font></span> </b></td>
</tr>
<tr>
	<td background=images/pixelbgtable.gif class="textalb">
		<img src=images/arrow_white_tr.gif>
		<a
            onclick="javascript:theform.prj_jump.value='1';theform.onsubmit();theform.submit();"
            style="cursor:hand;"
            class="textalb"><trans:showPageMessage label="md.identif" /></a>
	</td>
</tr>
<tr>
<td background=images/pixelbgtable.gif class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='1';theform.onsubmit();theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.plan" /></a>
</td>
</tr>
<tr>
<td background=images/pixelbgtable.gif class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='2';theform.onsubmit();theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.loc" /></a>
</td>
</tr>
<tr>
<td background=images/pixelbgtable.gif class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='2';theform.onsubmit();theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.sec" /></a>
</td>
</tr>
<tr>
<td background=images/pixelbgtable.gif class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='2';theform.onsubmit();theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.comp" /></a>
</td>
</tr>
<tr>
<td background=images/pixelbgtable.gif class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='3';theform.onsubmit();theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.fin" /></a>
</td>
</tr>
<tr>
<td background=images/pixelbgtable.gif class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='3';theform.onsubmit();theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.prel" /></a>
</td>
</tr>
<tr>
<td background=images/pixelbgtable.gif class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='4';theform.onsubmit();theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.cauth" /></a>
</td>
</tr>
<tr>
          <td bgcolor="#336699" class="textalb"> <img src=images/arrow_white_tr.gif> <a href="editActivity?key=<%=key%>&page=5" class="textalb"><trans:showPageMessage label="md.ben" /></a>
          </td>
</tr>
<tr>
          <td bgcolor="#336699" class="textalb"> <img src=images/arrow_white_tr.gif> <a href="editActivity?key=<%=key%>&page=5#descobj" class="textalb"><trans:showPageMessage label="md.descobj" /></a>
          </td>
</tr>
<tr>
<td background=images/pixelbgtable.gif class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='6';theform.onsubmit();theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.docl" /></a>
</td>
</tr>
<tr>
<td background=images/pixelbgtable.gif class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='6';theform.onsubmit();theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="md.pinv" /></a>
</td>
</tr>
<% if (aoo.isEnabled(ActObjsOptsConst.NOTEFIELDS)) { %>
<tr>
<td background=images/pixelbgtable.gif class="textalb">
	<img src=images/arrow_white_tr.gif>
	<a
      onclick="javascript:theform.prj_jump.value='7';theform.onsubmit();theform.submit();"
      style="cursor:hand;"
      class="textalb"><trans:showPageMessage label="p.notefields" /></a>
</td>
</tr>
<% } %>
<tr>
          <td background=images/pixelbgtable.gif align="center">
            <input type="button" name="Help" class="buton" value='<trans:showPageMessage label="p.help" hide_link="true" />'
          onClick="javascript:help('aboutPage5.htm');">
          </td>
</tr>
<tr>
<td background=images/pixelbgtable.gif height="45">
<div align="center">
<input	type="button" onclick="javascript:document.theform.action.value='<%=EditActivityServlet.ACTION_SUBMIT%>';document.theform.preview_data.value='true';document.theform.onsubmit();theform.submit();"
	value='<trans:showPageMessage label="p.pubinfo" hide_link="true" />'
	class="butonpublish"
/>
<trans:showPageMessage label="translator.showhiddentags"/>
</div>
</td>
</tr>
</table>
<!-- ziendof meniu dreapta -->
      </td>
    </tr>
  </table>
</form>
<script language="javascript">
function chlang(dd) {
if(dd.options[dd.selectedIndex].value == 'ro') window.location='/editActivity?lang=ro';
if(dd.options[dd.selectedIndex].value == 'us') window.location='/editActivity?lang=us';
}
</script>
<!--Textarea limitator-->
<SCRIPT LANGUAGE="JavaScript">
function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit) // if too long...trim it!
field.value = field.value.substring(0, maxlimit);
// otherwise, update 'characters left' counter
else
countfield.value = maxlimit - field.value.length;
}
</script>
<jsp:include page="footer.jsp" />
</body>
 <HEAD>
 <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
 </HEAD>
</html>
<!--
-->
